<script setup>
import { ref, reactive } from 'vue'
// 逻辑代码
import { imgUrls } from "@/network/request";
defineProps({ list: { type: Array, required: true } });

</script>

<template>
    <div>
        <!-- 猜你喜欢 -->
        <div style="width: 100%;background-color: #FFFFFF;margin-top: 10px;">
            <div style="height: 28px;line-height: 35px;padding: 5px;">
                <span style="font-size: 16px;">猜你喜欢</span>
            </div>
            <div style="margin-top: 10px;">
                <van-card v-for="(item, index) in list" :key="index" tag="Like" :desc="item.storeInfo"
                    :title="item.storeName" :thumb="imgUrls + item.image" :origin-price="item.otPrice">
                    <template #price>
                        <span style="font-size: 18px; color: #ee883b;">￥{{ item.price }}</span>
                    </template>
                </van-card>
            </div>
        </div>
    </div>
</template>

<style scoped></style>